package com.xm_jd.model.dao;

import java.util.List;

import com.xm_jd.model.entitys.user;
import com.xm_jd.utils.BaseDao;

/**
 * ��¼dao��
 * @author lenovo
 *
 */
public class LoginDao {
		BaseDao<user> dao=new BaseDao(user.class);
		
		public List<user> denglu(String user_name,String user_pwd){
			String sql="SELECT * FROM tb_user where user_name=? and user_pwd=?;";
			return dao.selectAll(sql, new Object[]{user_name,user_pwd});
		} 
}
